using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;

namespace PassingDataToAction.Controllers
{
    public class BlogController : Controller
    {
        public ActionResult Post(int year, int month, int day, string title, int commentId)
        {
            ViewData["Message"] = String.Format("Title: {0}, day: {1}/{2}/{3}, commentId: {4}", title, month, day, year, commentId);
            return View();
        }

    }
}
